<%--
  Created by IntelliJ IDEA.
  User: 陈博
  Date: 2024/9/18
  Time: 9:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.*" %>
<html>
<head>
    <title>使用request内置对象</title>
</head>
<body bgcolor="#ccffcc">
<h1>您刚才输入的内容是：</h1>
<%
    Enumeration enu = request.getParameterNames();
    while (enu.hasMoreElements() ){
        String parameterName = (String)enu.nextElement();
        String parameterValue = request.getParameter(parameterName);
        out.print("参数名称："+ parameterName + "<br>");
        out.print("参数内容："+ parameterValue + "<br>");
}
%>
</body>
</html>
